import request from '@/utils/request'

// 查询缓存详细
export function getCache() {
  return request({
    url: '/monitor/cache',
    method: 'get'
  })
}


  // 查询缓存详细
export function getRegions() {
     regionOptions: [  
        {  
          value: 'beijing',  
          label: '北京',  
          children: [{  
            value: 'beijing',  
            label: '北京市',  
            children: [{  
              value: 'dongcheng',  
              label: '东城区'  
            }, {  
              value: 'xicheng',  
              label: '西城区'  
            }]  
          }]  
        },   
        {  
          value: 'jiangsu',  
          label: '江苏省',  
          children: [{  
            value: 'nanjing',  
            label: '南京市',  
            children: [{  
              value: 'xuanwu',  
              label: '玄武区'  
            }, {  
              value: 'gulou',  
              label: '鼓楼区'  
            }]  
          }]  
        }  
      ];
      return regionOptions
}

